package hesso.smartdraw.ch.guielements;

import hesso.smartdraw.ch.model.Wall;

import org.anddev.andengine.entity.primitive.Rectangle;

public class WallScreenElement extends Rectangle{
	


	public WallScreenElement(int pX, int pY, Wall w) {
		super(pX, pY,  (int)Math.sqrt(Math.pow(w.getX2()-w.getX1(),2)+Math.pow(w.getY2()-w.getY1(),2)),300);

	}


	
	

}
